package cn.livingCloud.repository;

import cn.livingCloud.dto.Page;
import cn.livingCloud.entity.system.ImageResource;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 唐旭 on 2016/1/27.
 */
@Repository
public interface ImageResourceMapper {
    void save(ImageResource resource);

    ImageResource findByUuid(String uuid);

    void update(ImageResource resource);

    void archive(ImageResource resource);

    void delete(String uuid);

    List<ImageResource> list(Page page);
}
